package org.dromara.app.domain.bo;

import org.dromara.app.domain.SkDaRenApply;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 达人申请信息业务对象 sk_da_ren_apply
 *
 * @author Evacuation
 * @date 2024-07-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SkDaRenApply.class, reverseConvertGenerate = false)
public class SkDaRenApplyBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 头像
     */
    @NotBlank(message = "头像不能为空", groups = { AddGroup.class, EditGroup.class })
    private String headImage;

    /**
     * 昵称
     */
    @NotBlank(message = "昵称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String nickName;

    /**
     * 身高
     */
    @NotBlank(message = "身高不能为空", groups = { AddGroup.class, EditGroup.class })
    private String height;

    /**
     * 体重
     */
    @NotBlank(message = "体重不能为空", groups = { AddGroup.class, EditGroup.class })
    private String weight;

    /**
     * 年龄
     */
    @NotBlank(message = "年龄不能为空", groups = { AddGroup.class, EditGroup.class })
    private String birthday;

    /**
     * 性别
     */
    @NotBlank(message = "性别不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sex;

    /**
     * 地址
     */
    @NotBlank(message = "地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String address;

    /**
     * 微信号
     */
    @NotBlank(message = "微信号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String webchat;

    /**
     * 电话
     */
    private String phone;

    /**
     * 个性标签
     */
    @NotBlank(message = "个性标签不能为空", groups = { AddGroup.class, EditGroup.class })
    private String personalityTag;

    /**
     * 陪玩类型
     */
    @NotBlank(message = "陪玩类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String accompanyingType;

    /**
     * 照片
     */
    @NotBlank(message = "照片不能为空", groups = { AddGroup.class, EditGroup.class })
    private String photo;

    /**
     * 视频
     */
    @NotBlank(message = "视频不能为空", groups = { AddGroup.class, EditGroup.class })
    private String video;

    /**
     * 状态
     */
    @NotNull(message = "状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long state;


    private Long userId;

    private String city;
}
